﻿<!doctype html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <meta name="viewport"
          content="width=device-width, user-scalable=no, initial-scale=1.0, maximum-scale=1.0, minimum-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>外汇数据解析</title>
</head>
<body class="box">

<div>
    <div style=" text-align: center; color: #086e6e;font-weight: bold;font-style: italic">
        <h1 style="display: inline-block;margin: 20px auto"> 外汇交易爬取及可视化</h1>
    </div>

    <div style=" text-align: center; color: #086e6e;font-weight: bold;font-style: italic">
        <div style="display: inline-block;color: red;margin: 20px auto">
            <form action="/export/csv" style="display: inline-block">
                <button style="font-size: 20px;color: blue" type="submit">导出CSV文件</button>
            </form>

            <div style="font-size: 20px;color: blue;display: inline-block"><a style="background-color:white;" href="/map">
                外汇K线图
            </a></div>
        </div>
    </div>
</div>
<div style=" height: 100%">
    <div style="margin: 0 auto;">
        <table class="box_btn" border="1" align="center" cellspacing="0" cellpadding="0">
            <tr th:each="collect : ${collects}">
                <td th:text="${collect.title}"></td>
                <td th:text="${collect.startPrice}"></td>
                <td th:text="${collect.minUnit}"></td>
                <td th:text="${collect.gangGan}"></td>
                <td th:text="${collect.createAt}"></td>
            </tr>
        </table>
    </div>
</div>

</body>

<style>
    .box {
        background: url('wh.png') no-repeat center 0px;
        background-position: center 0px;
        background-size: cover;
    }

    .box_btn {
        width: 1000px;
        color: orange;
        font-weight: bold;
        background-color: white;
        opacity: 0.9;
        border-radius: 5px;
    }

    td {
        width: 300px;
        line-height: 50px;
    }
</style>
</html>
